package org.example.springchatroom.enums;

import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 九转苍翎
 * Date: 2025/9/3
 * Time: 14:54
 */
@Getter
public enum Enums {
    SUCCESS("成功",200),
    FAIL("失败",-1)
    ;

    private final String message;
    private final Integer code;

    Enums(String message, Integer code) {
        this.message = message;
        this.code = code;
    }
}
